package org.bapoint.reactadmin.entity.vo;

/**
 * Restful service result base class
 */
public class AjaxResult<T> {
    //code
    private String code;
    //message
    private String message;
    // data
    private T data;
    private T total;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public T getTotal() {
        return total;
    }

    public void setTotal(T total) {
        this.total = total;
    }
}
